<?php

/*
 * Configuracion de el archivo de cargue masivo.
 * Tipos de dato aceptados: boolean, integer, float, string, array, object, null
 */

$config['upload']['tabla'] = 'registro_registro';
$config['upload']['dir'] = '../../uploads/transacciones/';
$config['upload']['size'] = 500000;
$config['upload']['campos'] = array(
    'tipo' => array(
        'type' => 'integer',
        'start' => '0',
        'size' => '4'
    ),
    'fechaProceso' => array(
        'type' => 'date',
        'start' => '4',
        'size' => '8'
    ),
    'numeroCuenta' => array(
        'type' => 'double',
        'start' => '12',
        'size' => '16'
    ),
    'fechaSistema' => array(
        'type' => 'date',
        'start' => '28',
        'size' => '8'
    ),
    'hora' => array(
        'type' => 'integer',
        'start' => '36',
        'size' => '6'
    ),
    'terminal' => array(
        'type' => 'integer',
        'start' => '42',
        'size' => '6'
    ),
    'talon' => array(
        'type' => 'integer',
        'start' => '48',
        'size' => '8'
    ),
    'valorCheque' => array(
        'type' => 'float',
        'start' => '56',
        'size' => '19',
        'decimals' => '2'
    ),
    'valorPesos' => array(
        'type' => 'float',
        'start' => '75',
        'size' => '19',
        'decimals' => '2'
    ),
    'valorUnidadPesos' => array(
        'type' => 'float',
        'start' => '94',
        'size' => '19',
        'decimals' => '4'
    ),
    'oficinaRecaudo' => array(
        'type' => 'integer',
        'start' => '113',
        'size' => '4'
    ),
    'motivo' => array(
        'type' => 'integer',
        'start' => '117',
        'size' => '4'
    ),
    'referenciaUno' => array(
        'type' => 'double',
        'start' => '121',
        'size' => '16'
    ),
    'referenciaDos' => array(
        'type' => 'double',
        'start' => '137',
        'size' => '16'
    ),
    'saldo' => array(
        'type' => 'float',
        'start' => '153',
        'size' => '19',
        'decimals' => '2'
    ),
    'indicadorExcento' => array(
        'type' => 'integer',
        'start' => '172',
        'size' => '2'
    ),
    'valorExcentos' => array(
        'type' => 'float',
        'start' => '174',
        'size' => '19',
        'decimals' => '2'
    ),
    'canal' => array(
        'type' => 'integer',
        'start' => '193',
        'size' => '2'
    ),
    'causalDevolucion' => array(
        'type' => 'integer',
        'start' => '195',
        'size' => '4'
    ),
    'jornada' => array(
        'type' => 'integer',
        'start' => '199',
        'size' => '1'
    )
);
